All Questions
3 questions
1vote
0answers
750views
Parsing a large XML file and storing in Postgres efficiently using Pythonic code
I have a bunch of large XML files that I have to parse and store in Postgres. I have done a lot of procedural code but I want to think in terms of objects and reap the benefits. Any help in that ...
5votes
1answer
81views
Refactoring a class that counts xml dom nodes and caches the result
I saw this entertaining talk by: Bob Martin on clean code and started refactoring a relatively simple class today. I am, by no means, an expert on coding and still learning a lot every day, so I want ...
3votes
1answer
508views
Best practice to create XML messages with DOMDocument class in PHP
I want to create XML messages for webservice communication. These messages should be created from a pool of reusable elements. Therefore I have created different classes. A "factory" class, that only ...